#ifndef __HTTP_H__
#define __HTTP_H__

#define CR   '\r'
#define LF   '\n'
#define CRLF "\r\n"

#define HTTP_HEADER_CACHE_CONTROL       "Cache-Control"
#define HTTP_HEADER_CONTENT_DISPOSITION "Content-Disposition"
#define HTTP_HEADER_CONTENT_TYPE        "Content-Type"
#define HTTP_HEADER_EXPIRES             "Expires"
#define HTTP_HEADER_PRAGMA              "Pragma"

#ifdef __cplusplus
extern "C" {
#endif

int http_start(unsigned int port, const char *name);
int http_stop();

#ifdef __cplusplus
}
#endif

#endif
